package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.hst.core.annotation.Comment;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_flow_config")
@Comment("流程配置表")
public class TFlowConfig extends BaseEntity{
	
	@Id
	@Column(name = "id", length = 10)
	@Comment("ID")
	@GeneratedValue(generator = "hsid")
	@GenericGenerator(name = "hsid", strategy = "com.hst.core.hbm.HSIDGenerator")
	private String id;
	
	@Column(name = "role", length = 10)
	@Comment("申请角色")
	private String role;
	
	@Column(name = "flow_type", length = 10)
	@Comment("流程类型:车证申请，人证申请等")
	private String flowType;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getFlowType() {
		return flowType;
	}

	public void setFlowType(String flowType) {
		this.flowType = flowType;
	}
}
